package com.BraveY.Demo03;

public class girl {
    private String name;
    private int height;
    private int weight;

    public girl() {
    }

    public girl(String name, int height, int weight) {
        this.name = name;
        this.height = height;
        this.weight = weight;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getHeight() {
        return this.height;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public int getWeight() {
        return this.weight;
    }

    //展示方法
    public void show() {
        System.out.println("我女朋友叫" + name + ",身高" + height + "厘米,体重" + weight + "斤");
    }

    //洗衣服方法
    public void wash() {
        System.out.println("女朋友帮我洗衣服");
    }

    //做饭方法
    public void cook() {
        System.out.println("女朋友给我做饭");
    }
}
